﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Authorization.Domain.Model.Authority
{
    /// <summary>
    /// 菜单功能关系表
    /// </summary>
    [Table("FunctionOperation")]
    public class FunctionOperation
    {
        [Key]
        ///主键
        public int FunctionOperationId { get; set; }

        /// <summary>
        /// 菜单主键，自增标识列
        /// </summary>
        public int MenuId { get; set; }

        /// <summary>
        /// 操作主键，自增标识列
        /// </summary>
        public int OperationId { get; set; }
    }
}
